package com.gitee.secretopen.sso.service;

import java.util.Map;

/**
 * @Author Xjt
 * @Date 2021/2/26 19:15
 * @Version 1.0
 */
public interface LoginService {

    Map<String, Object> ssoLogin(String name, String password, String code, String siteId);


    Map<String, Object> adminLogin(String name, String password, String code);

    Object getUserByToken(String token);

    boolean adminLogout(String token);

    boolean ssoLogout(String token);
}
